﻿using In66.Net.Mongo.Entities;
using MongoDB.Bson.Serialization.Attributes;

namespace Test.Api.Models.Mongo
{
    /// <summary>
    /// 登录日志
    /// </summary>
    public class LoginLog : MongoEntity
    {
        public string UserName { get; set; } = default!;

        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime? CreateTime { get; set; }
    }
}
